package com.hcc.gateway.netty.route;

import com.hcc.gateway.netty.context.GatewayExchange;
import com.hcc.gateway.netty.filter.GatewayFilter;
import com.hcc.gateway.netty.route.predicate.PathRoutePredicateProcessor;
import lombok.Data;

import java.net.URI;
import java.util.List;
import java.util.function.Predicate;
import java.util.stream.Collectors;

/**
 * GatewayRoute
 *
 * @author shengjun.hu
 * @date 2021/12/27
 */
@Data
public class GatewayRoute {

    private String id;
    private URI uri;
    private int order;
    private List<Predicate<GatewayExchange>> predicates;

}
